//
//  DetailHeadTableViewCell.swift
//  约健
//
//  Created by tyh on 2017/10/2.
//  Copyright © 2017年 tyh. All rights reserved.
//

import UIKit

class DetailHeadTableViewCell: UITableViewCell {
    
    
    
    @IBOutlet weak var Pic: UIImageView!
    @IBOutlet weak var DarkView: UIView!
   
    @IBOutlet weak var Address: UILabel!
 
    class func creatCell(_ tableView : UITableView) -> DetailHeadTableViewCell {
        var cell = tableView.dequeueReusableCell(withIdentifier: "DetailHeadTableViewCell")
        if cell == nil{
            cell = (Bundle.main.loadNibNamed("DetailHeadTableViewCell", owner: nil, options: nil))?.first as! DetailHeadTableViewCell
        }
        return cell as! DetailHeadTableViewCell;
    }
 
    override func awakeFromNib() {
        super.awakeFromNib()
        
        self.DarkView.backgroundColor = UIColor(red: 0 / 255.0, green: 0 / 255.0, blue: 0 / 255.0, alpha: 0.4)
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
 
    
}
